/*
 * @Author: your name
 * @Date: 2021-08-07 18:06:32
 * @LastEditTime: 2021-08-18 19:29:28
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \Self\hrsaas-86\src\router\employees.js
 */
// 员工模块
import Layout from '@/layout'

export default {
  path: '/employees',
  component: Layout,
  children: [
    {
      path: '',
      name: 'employees',
      component: () => import('@/views/employees'),
      meta: { title: '员工', icon: 'people' }
    },
    {
      path: 'detail/:id', // 动态路由参数
      component: () => import('@/views/employees/detail'),
      hidden: true,
      meta: {
        title: '员工详情'
      }
    },
    {
      path: 'print/:id', // 动态路由参数
      component: () => import('@/views/employees/print'),
      hidden: true,
      meta: {
        title: '员工详情'
      }
    }
  ]
}
